#ifndef POINT_2D_H
#define POINT_2D_H

#include <string>



using std::string;
class Point2D
{
	public:

		float x, y;

		Point2D(void)
		{
			x = 0;
			y = 0;
		}

		Point2D(float c)
		{
			x = c;
			y = c;
		}

		Point2D(const Point2D& currentPoint)
		{
			x = currentPoint.x;
			y = currentPoint.y;
		}
		
		Point2D(float xCoor, float yCoor)
		{
			x = xCoor;
			y = yCoor;
		}

		void Set(float p_x, float p_y)
		{
			x = p_x;
			y = p_y;
		}

		~Point2D(void){}

		Point2D operator *(float constant)
		{
			return (Point2D(x * constant, y * constant));
		}

		/*string ToString()
		{
			std::stringstream testString;
			testString << "(" << x << "," << y << ")";
			return testString.str();
		}*/

};



#endif // !POINT_2D_H
